obj-$(CONFIG_FH_SPI_NAND) += spi-nand-base.o spi-nand-bbt.o spi-nand-device.o
obj-$(CONFIG_FH_SPI_NAND) += spi-nand-ids.o spi-nand-util.o

ifdef CONFIG_SPL_BUILD
COBJS-$(CONFIG_SPL_SPINAND_SUPPORT)	+= spi-nand-spl-load.o
endif
